package tt.dz.egobus.servicemanager.service;

/**
 * @author Anson
 * @date 17-8-9
 * @name 抢单的业务缓存服务
 * @since 1.0.6
 */
public interface GrabBusinessCacheService extends BusinessCacheService {

    /**
     * @param businessId
     * @author Anson
     * @date 17-8-10
     * @name 处理当前流单的逻辑
     * @since 1.0.6
     */
    boolean doGrabLost(String businessId);

    /**
     * @param businessId
     * @author Anson
     * @date 17-8-10
     * @name 处理当前的抢单超时的逻辑
     * @since 1.0.6
     */
    boolean doGrabTimeout(String businessId);
}
